package cn.tedu.waste.api.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tedu.cn
 * @since 2020-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("visits")
public class Visits implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 病人编号
     */
    @TableField("v_patient")
    private Integer vPatient;

    /**
     * 科室
     */
    @TableField("v_class")
    private String vClass;

    /**
     * 科室ID
     */
    @TableField("v_classID")
    private Integer vClassid;

    /**
     * 医生姓名
     */
    @TableField("v_name")
    private String vName;

    /**
     * 出诊时间
     */
    @TableField("v_time")
    private LocalDateTime vTime;

    /**
     * 时长
     */
    @TableField("v_duration")
    private String vDuration;

    /**
     * 问题
     */
    @TableField("v_problem")
    private String vProblem;

    /**
     * 预约编号
     */
    @TableField("v_appointment")
    private String vAppointment;

    /**
     * 状态(0 未出诊，1 出诊)
     */
    @TableField("v_stateId")
    private Integer vStateid;

    /**
     * 状态
     */
    @TableField("v_state")
    private String vState;


}
